#include "ServiceEntrance.hpp"
#include "HttpServer.hpp"


int main() {
    chdir("../resources");
    HttpServer server;
    ThreadPool* pool = ThreadPool::getInstance();
    pool->setNumThread(8);
    pool->start();



    ServiceEntrance service(&server, pool);
    server.start(9999);


    
    return 0;
}